<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/taglibs.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看消息</title>
<LINK href="${ctx}/styles/style.css" type='text/css' rel='stylesheet'>
<style type="text/css">
.msgInput{
	border:0px;
	border-bottom: 1px dotted #000;
	width: 690px;
}
</style>
</head>
<body>
<br>
<form id="sendMsg" action="sendMsg.do" method="post">
<table width="800" align="center" style="line-height:30px;" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" height="10"></td>
  </tr>
  <tr>
    <td align="right">发送时间：</td>
    <td>
    	<s:textfield name="model.createTime" id="createtime" cssClass="msgInput" readonly="true"  style="color:#2966B0; font-weight: bold;"/>
    </td>
  </tr>
  <tr>
    <td width="80" align="right">发送人：</td>
    <td width="720">
    	<input type="text" name="senderName" value="${model.sender.name}" style="color:#2966B0; font-weight: bold;" class="msgInput" readonly="readonly"/>
    </td>
  </tr>
  <tr>
    <td align="right">接收人：</td>
    <td>
    	<s:textfield name="model.receiver.name" id="receivers" cssClass="msgInput" readonly="true"  style="color:#2966B0; font-weight: bold;"/>
    </td>
  </tr>
  <tr>
    <td align="right">主　题：</td>
    <td>
    	<s:textfield name="model.title" id="title" cssClass="msgInput" readonly="true"/>
    </td>
  </tr>
  <tr>
    <td align="right" valign="top">附　件：</td>
    <td valign="top">
      <div style="widows: 700px;">
    	 <s:iterator value="fileAttchs" var="attch">
    	 	<div style="float: left;">
    	 	  <a href="${ctx}${attch.path}" target="_blank">${attch.name}&nbsp;&nbsp;|&nbsp;&nbsp;</a>
    	 	</div>
    	 </s:iterator>
      </div>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" align="center">
      <table width="750" style="border-top: 1px solid #000;">
        <tr>
          <td align="left">${model.content}</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td colspan="2" height="15"></td>
  </tr>
</table>
</form>
</body>
</html>